home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 35
/
PC Gamer IT CD 35 1-2.iso
/
Elink
/
NSCOMM
/
NCJS10.JAR
/
gencon.js
< prev
next >
Wrap
Text File
|
1997-10-20
|
1KB
|
59 lines
var selectorWindow = parent;
var editing = 0;
function HandleEdit()
{
if (selectorWindow.titlebar.finishedLoading == 0)
return;
depth.SecureWindowOpen(window, 'mainpref.htm',
'mainprefs',
'left=100,top=100,width=432,height=300,titlebar=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,modal=yes,alwaysRaised=yes,z-lock=no,dependent=yes,hotkeys=no');
}
function HandleAdd()
{
if (selectorWindow.titlebar.finishedLoading == 0)
return;
var addWindow = depth.SecureWindowOpen(window, 'addc.htm',
'prefs',
'left=150,top=200,width=427,height=247,titlebar=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,modal=yes,alwaysRaised=yes,z-lock=no,dependent=yes,hotkeys=no');
addWindow.depth = top;
}
function HandleHelp(topic)
{
if ((topic == null) || (topic == ""))
topic = "net_main_about";
selectorWindow.location.href = "nethelp:netscape/netcastr:" + topic;
}
function HandleExit()
{
parent.opener.HideSelector();
selectorWindow.titlebar.closeNetCast();
}
function PropertiesCallback(propsWindow)
{
propsWindow.selector = selectorWindow;
propsWindow.container = depth.getDefaultContainer();
propsWindow.callback = self;
}
function GetSelectorWindow()
{
return selectorWindow;
}
void(0);